import './assets/main.css'

import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'


import App from './App.vue'
import GlobalConmDemo from "./components/GlobalConmDemo.vue"

import router from './router'

//引入vuex实例
import store from './store'


const app = createApp(App)

//注册全局组件
app.component(GlobalConmDemo.name,GlobalConmDemo)

//挂载vuex
app.use(store)

app.use(router)

app.use(ElementPlus)

app.mount('#app')